import request from "./http";

export function getSearch(params) {
    return request({
        url: "/cloudsearch",
        method: "get",
        params
    })
}

export function getDefault(params) {
    return request({
        url: "/search/suggest",
        method: "get",
        params
    })
}


export function getHot() {
    return request({
        url: "/search/hot",
        method: "get",
    })
}

